<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
    <?php include_title() ?>
    <?php include_stylesheets() ?>
	<meta http-equiv="Content-Type"content="text/html;charset=utf-8" />
</head>	
<table>
  <tbody>
   <!-- <tr>
      <th>Id:</th>
      <td><?php echo $modules->getId() ?></td>
    </tr> -->
    <tr>
      <th><p>Module:</p></th>	
	<td><p><?php echo $modules->getNom() ?></p></td>
    </tr>
    <tr>
      <th><p>Date debut:</p></th>
		<td><p><?php echo $modules->getDateDebut() ?></p></td>
    </tr>
    <tr>
      <th><p>Date fin:</p></th>
	 <td><p><?php echo $modules->getDateFin() ?></p></td>
    </tr>
    <tr>
      <th><p>Tarif:</p></th>
      <td><p><?php echo $modules->getTarif() ?></p></td>
    </tr>
    <tr>
      <th><p>Description:</p></th>
	</tr>
	<tr>
     <td></td><td><div style="height:420px; width:550px; overflow-y:scroll; display:block; border: 3px groove black">
	  <p><?php echo html_entity_decode($modules->getDescription())?></p></div></td>
    </tr>
  </tbody>
</table>
<hr />

<?php if($sf_user->isAuthenticated()):?>
<?php if ($sf_user->getGuardUser()->hasGroup('admin')):?>
<a href="<?php echo url_for('modulesformation/edit?id='.$modules->getId()) ?>">Modifier</a>
&nbsp;
<?php endif;?>
<?php endif;?>
<a href="<?php echo url_for('modulesformation/index') ?>">Retourner</a>

<a href="<?php echo url_for('@sf_guard_gestioninscription')?>">S'inscrire</a>

</html>